Q3Vector2D_Subtract
You can use theQ3Vector2D_Subtract
function to subtract a two-dimensional vector from a two-dimensional vector.
TQ3Vector2D *Q3Vector2D_Subtract ( const TQ3Vector2D *v1, const TQ3Vector2D *v2, TQ3Vector2D *result);
v1
- A two-dimensional vector.
v2
- A two-dimensional vector.
result
- On exit, the result of subtracting
v2
fromv1
.DESCRIPTION
TheQ3Vector2D_Subtract
function returns, as its function result and in theresult
parameter, the two-dimensional vector that is the result of subtracting vectorv2
from vectorv1
. Note that on entry theresult
parameter can be the same as eitherv1
orv2
(or both).